package com.github.niefy.modules.wx.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.niefy.common.utils.PageUtils;
import com.github.niefy.modules.wx.entity.WxMassRecord;

import java.util.Map;

public interface WxMassRecordService extends IService<WxMassRecord> {

    /**
     * 分页查询群发消息记录
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String,Object> params);

    /**
     * 保存群发消息记录
     * @param entity
     * @return
     */
    @Override
    boolean save(WxMassRecord entity);

    /**
     * 按分页查询数据
     * @param page
     * @return
     */
    IPage<WxMassRecord> getPage(int page);
}
